<header>
    <div class="header">
        <div class="clearfix box">
            <a class="header-icon1" href="tel:{$config.site_tel}">
                <img src="{$theme_path}/images/i_icon1.png" width="80%"/>电话
            </a>
            <form name="searform" action="{:urlrotue('GList/index')}" method="get">
            <div class="header-form clearfix">
                <input type="submit" class="sub"  value=""/>
                <input type="text" class="text"  name="keywords" id="keywords"   placeholder="商品搜索" />
            </div>
            <a class="header-icon1" href="{:urlrotue('Member/message')}">
                <img src="{$theme_path}/images/i_icon3.png" width="80%"/>消息
            </a>
        </div>
    </div>
</header>

<script type="text/javascript">
    fwshop_root = "__APP__";
    var theme_path = "{$theme_path}";//主题路径
    var url_login_back = "{:U('Register/login')}?ret="+document.location;
    var url_register_back = "{:U('Register/index')}?ret="+document.location;
    var url_top_login = "{:U('Register/top_state')}";//获取用户登陆状态地址
    var url_logout_ajax =  "{:U('Register/logout_ajax')}";//用户退出登陆地址AJAX
    var url_logout =  "{:U('Register/logout')}";//用户退出登陆地址
    var url_cart = "{:U('Cart/index')}";//购物车地址
    var url_add_cart = "{:U('Cart/add_cart')}";//加入购物车地址
    var url_help = "{:U('Help/index')}";//帮助中心地址
    var url_cart_num_count = "{:U('Cart/num_count')}";//获取购物车数量地址
	 var url_msg_num_count = "{:U('Ajax/message_count')}";//获取购物车数量地址
    var url_go_index = "{:U('/')}";//首页
    var url_top_search = "{:U('GList/index')}?"; //搜索地址
    var url_verify_code = "{:U('Register/verify')}?"; //获取验证码地址
    var url_forget_email = "{:U('Register/forget_email')}?"; //找回密码确定地址
    var url_forget_reset_ajax = "{:U('Register/forget_reset_ajax')}?"; //重置密码-找回密码确定地址
    var url_login = "{:U('Register/login')}?"; //用户登陆页面地址
    var url_login_submit = "{:U('Register/login_submit')}";//用户登陆请求地址
    var url_register_submit = "{:U('Register/register_submit')}";//用户注册请求地址
    //get_top_login_state();//获取顶部登陆状态
</script>